package types

import "gorm.io/gorm"

type Column struct {
	gorm.Model
	ColumnName       string `json:"column_name"`
	ColumnDetail     string `json:"column_detail"`
	ColumnReaderNums int    `json:"column_reader_nums"`
}

type Chapter struct {
	gorm.Model
	ColumnID       int    `json:"column_id"`
	AuthorID       int    `json:"author_id"`
	ChapterTitle   string `json:"chapter_title"`
	ChapterContent string `json:"chapter_content"`
}
